package com.oa.admin.dto;

import com.oa.admin.entity.OutApply;
import com.oa.admin.entity.OutApplyFile;
import com.oa.admin.entity.OutApplyPersonnel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel("外出申请")
@Data
public class OutApplyAddDTO {

    @ApiModelProperty("申请对象")
    private OutApply outApply;

    @ApiModelProperty("是否加入外出 1-加入 2-否")
    private Integer joinOut;

    @ApiModelProperty("1-外出 2-出差 已做处理 实际 2-3")
    private Integer type;

    @ApiModelProperty("外出人员")
    private List<OutApplyPersonnel> outApplyPersonnels;

    @ApiModelProperty("外出附件")
    private OutApplyFile outApplyFile;
}
